package com.liang.book.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;


@AllArgsConstructor
public enum ResultCodeEnum {
    //成功 1
    //未登录 0
    //后端发生异常    -1
    SUCESS(1,"成功"),
    NOLOGIN(0,"未登录"),
    FAIL(-1,"其他错误"),
    ;
    @Getter
    private int code;
    @Getter
    private String name;
}
